<?

class Qi_BenchMark
{
	public static function for_file($file)
	{
		if ($file instanceof SplFileInfo)
			$file = $file->getPathname();
		$class_name = basename($file, ".php");
		$r = require_once $file;
		return self::for_class_name($class_name);
	}

	public static function for_class_name($class_name)
	{
		$obj = new $className;
		return new Qi_BenchMark($obj);
	}

	public function __construct($obj)
	{
		
	}
}

?>